const express = require('express');
const handle = require('../router_handle/login_handle');
const app = express.Router();

// 管理员(post)
// /login/admin
// username password
app.post('/admin', handle.admin);
// 用户(post)
// /login/user
// username password
app.post('/user', handle.user);

module.exports = app